<?php

namespace common\widgets\grid;

/**
 * Class CountColumn
 *
 * @package common\widgets\grid
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class CountColumn extends FooterCellColumn {

    /**
     * 自定义表格底部数值内容
     *
     * @param $value
     */
    protected function handleFooterCellValue($value) {
        $_footerValue = $this->getFooterContent();
        $total = $_footerValue + $value;
        $this->setFooterContent($total);
    }

}